package com.taxshare.operation.entity;


import com.taxshare.mybatis.entity.BaseEntity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * API录入信息
 *
 * @author liupp
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@TableName("t_operation_interface_info")
public class ApiEntity extends BaseEntity implements Serializable {

	@TableId("uuid")
    @ApiModelProperty(value = "自定义主键")
    private String uuid;

	@TableField("service_id")
    @ApiModelProperty(value = "服务标志:具体方法标识")
    private String serviceId;

	@TableField("is_upload")
    @ApiModelProperty(value = "demo是否上传:0 否 1是")
    private String isUpload = "0";

	@TableField("qyzt")
    @ApiModelProperty(value = "启用状态 0 未使用 1使用中")
    private String qyzt = "0";

	@TableField("jkmc")
    @ApiModelProperty(value = "接口名称")
    private String jkmc;

	@TableField("cjms")
    @ApiModelProperty(value = "场景描述")
    private String cjms;

	@TableField("qqdz")
    @ApiModelProperty(value = "请求地址")
    private String qqdz;

	@TableField("zfdz")
    @ApiModelProperty(value = "微服务转发地址")
    private String zfdz;

	@TableField("fwxy")
    @ApiModelProperty(value = "服务协议")
    private String fwxy;

	@TableField("qqlx")
    @ApiModelProperty(value = "请求类型 POST/GET")
    private String qqlx;

	@TableField("sfdx")
    @ApiModelProperty(value = "POST请求 是否对象 0 否 1是")
    private String sfdx;

	@TableField("qqcs")
    @ApiModelProperty(value = "请求参数")
    private String qqcs;

	@TableField("fhcs")
    @ApiModelProperty(value = "返回结果参数说明")
    private String fhcs;

    @TableField("qqsl")
    @ApiModelProperty(value = "请求示例")
    private String qqsl;

    @TableField("xysl")
    @ApiModelProperty(value = "响应示例")
    private String xysl;

    @TableField("zysx")
    @ApiModelProperty(value = "注意事项")
    private String zysx;

    @TableField("sort")
    @ApiModelProperty(value = "排序字段,升序")
    private int sort = 0;

  //文件名
  	@TableField("file_name")
    private String fileName;
  	
  	//文件名
  	@TableField("file_url")
     private String fileUrl;
}
